package com.atguigu.jxc.service;

import com.atguigu.jxc.domain.ServiceVO;
import com.atguigu.jxc.entity.SaleList;
import com.atguigu.jxc.entity.SaleListGoods;

import java.util.List;
import java.util.Map;

/**
 * @author Sanmier
 * @create 2020-12-30 11:50
 */
public interface SaleListService {


    //销售单保存
    ServiceVO saleListGoodsListSave(SaleList saleList, List<SaleListGoods> saleListGoodsList);


    //条件查询
    Map<String, Object> getSaleSearchList(String saleNumber, Integer customerId, Integer state, String sTime, String eTime);


    //查询销售单商品信息
    Map<String, Object> getSaleGoodsList(Integer saleListId);


    //销售单删除
    ServiceVO deleteSaleListGoods(Integer saleListId);


    //支付结算（修改进货单付款状态）
    ServiceVO updateSaleListGoods(Integer saleListId);
}
